﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using SmartEP.Presenter;
using SmartEP.DTO;

namespace SmartDesktop
{
    public partial class TodayPatientView : UserControl, ITodayPatientView
    {
        private List<Patient> _patientWaiting;
        private List<Patient> _patientProgress;
        private List<Patient> _patientComplete;
        private PatientCarePresenter _presenter;

        public TodayPatientView(PatientCarePresenter presenter)
        {
            InitializeComponent();
            this.Name = "Today's Patient";
        }

        public List<Patient> PatientWaiting
        {
            get { return _patientWaiting; }
            set { _patientWaiting = value; }
        }

        public List<Patient> PatientProgress
        {
            get { return _patientProgress; }
            set { _patientProgress = value; }
        }

        public List<Patient> PatientComplete
        {
            get { return _patientComplete; }
            set { _patientComplete = value; }
        }

        private void Check_CheckIn(CheckBox chk1, CheckBox chk2)
        {
            if (chk1.Checked && !chk2.Checked)
            {
                chk2.Checked = false;
            }
            if (chk2.Checked)
            {
                chk1.Checked = false;
            }
        }
    }
}
